package com.tieba.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;             //主键id
    private String username;    //用户名
    private String password;    //密码
    private Short permission;   //权限 0管理员 1普通用户
    private String gender;      //性别
    private String image;       //头像
    private String phone;       //手机号(可选)
    private String email;       //邮箱(可选)
    private String address;
    private String introduction;        //个人简介
    private LocalDateTime createTime;   //创建时间
    private LocalDateTime updateTime;   //修改时间

}
